<!--#include("./common_header.html")-->

<h3>{$member_title = $lang->cmd_view_own_comment }</h3>

<!-- 모듈 선택 -->
<div class="fr gap1">
    <a href="{getUrl('','module','module','act','dispModuleSelectList','id','target_module','type','single')}" onclick="popopen(this.href,'ModuleSelect');return false;" class="small button green"><span>{$lang->cmd_find_module}</span></a>
    <!--@if($selected_module_srl)--><a href="{getUrl('selected_module_srl','')}" class="small button red"><span>{$lang->cmd_cancel}</span></a><!--@end-->
</div>

<!-- 목록 -->
<table cellspacing="0" class="colTable">
<caption>Total : {number_format($total_count)}, Page {number_format($page)}/{number_format($total_page)}</caption>
<thead>
    <tr>
        <th class="title"><div>{$lang->no}</div></th>
        <th class="title"><div>{$lang->comment}</div></th>
        <th class="title"><div>{$lang->date}</div></th>
    </tr>
</thead>
<tbody>
    <!--@foreach($comment_list as $no => $val)-->
	{@ $comment = cut_str(trim(strip_tags($val->content)), 200, '...')}
    <tr>
	
        <td>{$no}</td>
        <td class="wide">
            <a href="{getUrl('','document_srl',$val->document_srl)}#comment_{$val->comment_srl}" onclick="window.open(this.href);return false;"><!--@if(strlen($comment))-->{$comment}<!--@else--><em style="font-style:italic;">{$lang->no_text_comment}</em><!--@end--></a>
        </td>
        <td class="nowrap">{(zdate($val->regdate,"Y-m-d\nH:i:s"))}</td>
    </tr>
    <!--@end-->
    <tr>
        <th class="button" colspan="5">
            <a href="{getUrl('act','','selected_module_srl','')}" class="button"><span>{$lang->cmd_back}</span></a>
        </th>
    </tr>
</tbody>
</table>

<!-- 페이지 네비게이션 -->
<div class="pagination a1">
    <a href="{getUrl('page','','module_srl','')}" class="prevEnd">{$lang->first_page}</a> 
    <!--@while($page_no = $page_navigation->getNextPage())-->
        <!--@if($page == $page_no)-->
            <strong>{$page_no}</strong> 
        <!--@else-->
            <a href="{getUrl('page',$page_no,'module_srl','')}">{$page_no}</a> 
        <!--@end-->
    <!--@end-->
    <a href="{getUrl('page',$page_navigation->last_page,'module_srl','')}" class="nextEnd">{$lang->last_page}</a>
</div>

<!--#include("./common_footer.html")-->
